﻿using NHibernate.Mapping.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace IceZero.DataStore.Models
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable()]
    [XmlRoot("IceZero_UserGroup")]
    [Class(Table = "IceZero_UserGroup")]//定义数据库表名
    public class UserGroup:ModelBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Property(Column = "Name", TypeType = typeof(string))]
        public virtual string Name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property(Column = "GroupCode", TypeType = typeof(string))]
        public virtual string GroupCode { get; set; }
    }
}
